Scottish politician to face perjury trial