The European Commission has designed a cap on gas prices with very stringent conditions and safeguards attached.