1. The school teaches pupils from Inverkeithing , Dalgety Bay , Rosyth , North Queensferry , Aberdour and Dunfermline , but also from High Valleyfield under exceptional circumstances .
2. The school teaches students from Inverkeithing , Dalgety Bay , Rosyth , North Queensferry , Aberdour and Dunfermline , but also under extraordinary circumstances from High Valleyfield .

Are these two sentences paraphrases of each other?
yes