"There will obviously be legal consequences," prime minister promises.